package spotGUI.sideBar;

import java.awt.Dimension;

import javax.swing.JPanel;

public class MainSideBar extends JPanel {


	private Clock clock;
	private WeatherPanel weatherPanel;
	private EventsPanel eventsPanel;
	
	public MainSideBar() {
		setMinimumSize(new Dimension(213, 750));
		setPreferredSize(new Dimension(213, 636));
		
		clock = new Clock();
		clock.setBounds(16, 12, 181, 180);
		clock.setPreferredSize(new Dimension(181, 180));
		clock.start();
		setLayout(null);
		add(clock);
		
		weatherPanel = new WeatherPanel();
		weatherPanel.setBounds(10, 440, 192, 192);
		weatherPanel.setPreferredSize(new Dimension(192, 192));
		add(weatherPanel);
		
		eventsPanel = new EventsPanel();
		eventsPanel.setBounds(10, 182, 192, 252);
		eventsPanel.setPreferredSize(new Dimension(250, 352));
		add(eventsPanel);
		
	}

}
